package com.pyl.admin.system.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 灵魂贰婶
 * @since 2019-06-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class SysUserRole implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

	@TableField("user_id")
	private Long userId;
	
	@TableField("role_id")
	private Long roleId;

}
